
#include <config.h>

#if USE_UDPLOG
#ifndef _UDPLOGGER_H
	#define _UDPLOGGER_H

	#define UDPLOGGER_DEBUG usart_write
	//#define UDPLOGGER_DEBUG(...)

	#include <avr/io.h>
	#include <avr/pgmspace.h>
	#include "stack.h"
	#include "usart.h"
	#include "timer.h"

	#define UDPLOGGER_PORT		81
	#define UDPLOGGER_DEST_PORT		91

	void udplogger_init(void);
	void udplogd(unsigned char index); 

#endif
#endif //USE_UDPLOG
